package lumis.service.mailmarketing;

import java.util.ArrayList;
import java.util.Collection;

/**
 * Object that represents the user subscription
 *
 * @version $Revision: 7943 $ $Date: 2007-08-10 15:11:07 -0300 (Fri, 10 Aug 2007) $
 * @since 4.0.6
 */
public class UserSubscription
{
	private String id;
	private String userId;
	private String email;
	private Collection<Category> categories = new ArrayList<Category>();
	
	public String getId()
	{
		return id;
	}
	public void setId(String id)
	{
		this.id = id;
	}
	public String getUserId()
	{
		return userId;
	}
	public void setUserId(String userId)
	{
		this.userId = userId;
	}
	
	public Collection<Category> getCategories()
	{
		return categories;
	}

	public void setCategories(Collection<Category> categories)
	{
		this.categories = categories;
	}

	public String getEmail()
	{
		return email;
	}
	
	public void setEmail(String email)
	{
		this.email = email;
	}
}
